﻿#include "scanrule.h"

ScanRule::ScanRule(QObject *parent) : QBaseEntity(parent)
{
    clear();
    const QMetaObject *metaObject = this->metaObject();
    setTableName(QString(metaObject->className()).toLower());
    setPrimaryKey("id");
}

ScanRule::~ScanRule()
{

}

uint64_t ScanRule::getId() const
{
    return id;
}

void ScanRule::setId(const uint64_t &value)
{
    id = value;
}

QString ScanRule::getFilterName() const
{
    return filterName;
}

void ScanRule::setFilterName(const QString &value)
{
    filterName = value;
}

int ScanRule::getDisposeMode() const
{
    return disposeMode;
}

void ScanRule::setDisposeMode(int value)
{
    disposeMode = value;
}

QString ScanRule::getReplacePath() const
{
    return replacePath;
}

void ScanRule::setReplacePath(const QString &value)
{
    replacePath = value;
}
